import HelloWorld from "@/components/HelloWorld";
import ViewShop from "@/components/ViewShop";
import ViewItem from "@/components/ViewItem";
import CreateOrder from "@/components/CreateOrder";
import OrderList from "@/components/OrderList";
import UserLogin from "@/components/UserLogin.vue";
import ManageShop from "@/components/businessManage/ManageShop";
import ManageItem from "@/components/businessManage/ManageItem";
import ManageOrder from "@/components/businessManage/ManageOrder";
import UserRegister from "@/components/UserRegister";

const routers = [
    {
        path: '/shop',
        name: 'ViewShop',
        component: ViewShop
    },
    {
      path: '/',
          component: HelloWorld
    },
    {
        path: '/item',
        name: 'ViewItem',
        component: ViewItem
    },
    {
        path: '/order',
        name: 'CreateOrder',
        component: CreateOrder
    },
    {
        path: '/orderList',
        name: 'OrderList',
        component: OrderList
    },
    {
        path: '/login',
        name: 'UserLogin',
        component: UserLogin
    },
    {
        path: '/manage/shop',
        name: 'ManageShop',
        component: ManageShop
    },
    {
        path: '/manage/item',
        name: 'ManageItem',
        component: ManageItem
    },
    {
        path: '/manage/order',
        name: 'ManageOrder',
        component: ManageOrder
    },
    {
        path: '/register',
        name: 'UserRegister',
        component: UserRegister
    }
]
export default routers